<?php

class UserGroupDomain
{
	
	private $id;
	private $name;
	
	private $levelId;
	private $status;

	
	public function setId($id)
	{
		$this->id = $id;
	}
	
	public function getId()
	{
		return $this->id;
	}
	
	public function setName($name)
	{
		$this->name = $name;
	}
	
	public function getName()
	{
		return $this->name;
	}
	
	public function setLevelId($levelId)
	{
		$this->levelId = $levelId;
	}
	
	public function getLevelId()
	{
		return $this->levelId;
	}
	
	public function setStatus($status)
	{
		$this->status = $status;
	}	
	public function getStatus()
	{
		return $this->status;
	}
	
	public function isAdmin()
	{
		if($this->levelId == 1)
			return true;
			
		return false;
	}
}
?>
